package com.woniu.zsd.user.mapper;

import com.woniu.zsd.user.entity.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author author
 * @since 2025-03-27
 */
public interface UserMapper extends BaseMapper<User> {

    @Select("select phone from user where id=#{id}")
    String findUserPhone (Integer id);
    @Select("select status from user where id=#{id}")
    Integer findUserStatus(Integer id);

}
